package com.miyuan.bean.respone;

import java.util.List;

/**
 * Created by admin on 2018/5/9.
 */

public class MachineGoodsBean {

    /**
     * asc : true
     * condition : {}
     * current : 0
     * limit : 0
     * offset : 0
     * offsetCurrent : 0
     * openSort : true
     * orderByField : string
     * pages : 0
     * records : [{"inventory":0,"maxNumber":0,"name":"string","passagewayNumber":"string","picture":"string","sold":0,"vendorNumber":"string"}]
     * searchCount : true
     * size : 0
     * total : 0
     */

    private boolean asc;
    private ConditionBean condition;
    private int current;
    private int limit;
    private int offset;
    private int offsetCurrent;
    private boolean openSort;
    private String orderByField;
    private int pages;
    private boolean searchCount;
    private int size;
    private int total;
    private List<RecordsBean> records;

    public boolean isAsc() {
        return asc;
    }

    public void setAsc(boolean asc) {
        this.asc = asc;
    }

    public ConditionBean getCondition() {
        return condition;
    }

    public void setCondition(ConditionBean condition) {
        this.condition = condition;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getOffsetCurrent() {
        return offsetCurrent;
    }

    public void setOffsetCurrent(int offsetCurrent) {
        this.offsetCurrent = offsetCurrent;
    }

    public boolean isOpenSort() {
        return openSort;
    }

    public void setOpenSort(boolean openSort) {
        this.openSort = openSort;
    }

    public String getOrderByField() {
        return orderByField;
    }

    public void setOrderByField(String orderByField) {
        this.orderByField = orderByField;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class ConditionBean {
    }

    public static class RecordsBean {
        /**
         * inventory : 0
         * maxNumber : 0
         * name : string
         * passagewayNumber : string
         * picture : string
         * sold : 0
         * vendorNumber : string
         */

        private int inventory;
        private int maxNumber;
        private String name;
        private String passagewayNumber;
        private String picture;
        private int sold;
        private String vendorNumber;

        public int getInventory() {
            return inventory;
        }

        public void setInventory(int inventory) {
            this.inventory = inventory;
        }

        public int getMaxNumber() {
            return maxNumber;
        }

        public void setMaxNumber(int maxNumber) {
            this.maxNumber = maxNumber;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassagewayNumber() {
            return passagewayNumber;
        }

        public void setPassagewayNumber(String passagewayNumber) {
            this.passagewayNumber = passagewayNumber;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public int getSold() {
            return sold;
        }

        public void setSold(int sold) {
            this.sold = sold;
        }

        public String getVendorNumber() {
            return vendorNumber;
        }

        public void setVendorNumber(String vendorNumber) {
            this.vendorNumber = vendorNumber;
        }
    }
}
